package com.wm.youfangtong.ui.fragment

import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.navigation.fragment.NavHostFragment
import com.wm.youfangtong.R
import com.wm.youfangtong.base.BaseFragment
import com.wm.youfangtong.databinding.FragmentLoginBinding

/**
 * 注册/登录页面
 */
class LoginFragment : BaseFragment<FragmentLoginBinding>() {

    override fun getViewBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentLoginBinding {
        return FragmentLoginBinding.inflate(inflater,container,false)
    }

    override fun initView() {
    }

    override fun initData() {
    }

    override fun initListener() {
        // 跳转手机号页面
        binding?.tvLogin?.setOnClickListener {
            NavHostFragment.findNavController(this).navigate(R.id.phoneFragment)
        }
    }

    override fun observeData() {
    }


}